package spring_toby.vol1.ch5.c511.springbook.user.domain;

public class User
{
	public String id;
	public String name;
	public String password;
	public Level level;
	public int login;
	public int recommend;
	
	public User()
	{
		
	}
	
//	public User(String id, String name, String password, Level level, int login, int recommend)
//	{
//		this.id       = id;
//		this.name     = name;
//		this.password = password;
//		this.level    = level;
//		this.login    = login;
//		this.recommend = recommend;
//	}
	
	public User(String id, String name, String password)
	{
		this.id       = id;
		this.name     = name;
		this.password = password;
	}
	
	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}
	
	public Level getLevel()
	{
		return level;
	}
	
	public void setLevel(Level level)
	{
		this.level = level;
	}
	
	public int getLogin()
	{
		return login;
	}
	
	public void setLogin(int login)
	{
		this.login = login;
	}
	
	public int getRecommend()	
	{
		return recommend;
	}
	
	public void setRecommend(int recommend)
	{
		this.recommend = recommend;
	}
}
